# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=synner
pkgver=1.1
pkgrel=3
groups=('blackarch' 'blackarch-spoof' 'blackarch-dos')
pkgdesc='A custom eth->ip->tcp packet generator (spoofer) for testing firewalls and dos attacks.'
arch=('x86_64' 'aarch64')
url='http://packetstormsecurity.com/files/69802/synner.c.html'
license=('custom:unknown')
source=("https://dl.packetstormsecurity.net/UNIX/scanners/$pkgname.c")
sha512sums=('0c07a734a6a36b1ffc1bca4c704d89a1658d7c0e65d22563dfb9572989eff59aff373620a69eb26c8ba61b47829503544f99dbd2227e89da78115a9e33032cc9')

build() {
  gcc -o $pkgname "$pkgname.c"
}

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

